package com.framework.service;

import com.baomidou.mybatisplus.service.IService;
import com.framework.entity.sys.SysNotice;
import com.framework.page.PageUtils;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 功能描述: 通知列表
 * @author wq
 */
public interface SysNoticeService extends IService<SysNotice> {
	/**
	 *分页查询
	 * @param params
	 * @return
	 */
	PageUtils queryNoticeList(Map<String,Object> params);

	/**
	 * 新增通知
	 * @param coverUrl
	 * @param deptId
	 * @param request
	 */
	void insertNewNotice(String coverUrl,Long deptId, HttpServletRequest request);
}

